﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace QCM.Contract1
{
    [DataContract]
    public class Categorie
    {
        [DataMember]
        public int idCategorie;

        [DataMember]
        public string Nom;

        [DataMember]
        public string NomMere;


        public Categorie(int idCat, string nomCat, string nomCatMere)
        {
            this.idCategorie = idCat;
            this.Nom = nomCat;
            this.NomMere = nomCatMere;
        }
    }
}
